<?php

define('CUSTOMER', 'local');
define('SESSION_L', 'user_id');
define('SESSION_G', 'user_role');
define('SESSION_N', 'fullname');

//database settings

$dbCFG = array(
	'username' => 'root',
	'password' => '',
	'hostname' => 'localhost',//
	'databasename' => 'sf',
);

$username = $dbCFG['username'];
$password = $dbCFG['password'];
$hostname = $dbCFG['hostname'];
$databasename = $dbCFG['databasename'];
$driver = 'mysql';
#connection string
include_once(PATH.'lib/adodblite/adodb.inc.php');
$db =& ADONewConnection($driver.'://'.$username.':'.$password.'@'.$hostname.'/'.$databasename);
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
$db->Execute('SET NAMES UTF8');
mb_internal_encoding('UTF-8');

$remote = 0;
